package com.example.pattern.abstractFactory;

/**
 * 具体工厂A
 *
 * @author FM_南风
 * @date 2024/6/23
 */
public class ConcreteFactoryA implements AbstractFactory {
 @Override
 public ProductA createProductA() {
  return new ConcreteProductA1();
 }

 @Override
 public ProductB createProductB() {
  return new ConcreteProductB1();
 }
}
